package com.ruoyi.mongo.cet4.service;

import com.ruoyi.mongo.word.entity.*;

import java.util.List;

public interface PrimaryInterface {
    List<WordPrimaryEntity> getListData(String unit, String book);

    List<WordPrimaryEntity> getListData(String unit, String book, int times);

    void saveStudyData(WordStudyEntity entity);

    List<WordStudyEntity> getStudyData(String unit, String book);

    List<WordStudyEntity> getStudyData(String unit, String book, Long userId);

    List<WordStudyEntity> getStudyData(String practice, Long userId);

    void saveTestData(WordTestEntity entity);

    void saveTestData(List<WordTestEntity> list);

    void saveTestData(WordSubmitEntity entity);

    List<WordTestEntity> getTestData(String unit, String book);

    List<WordCheckNewRecord> getTestDetail(String practiceId);

    List<?> getTestDetail(String practiceId, int way);

    List<?> getTestDetail(String practiceId, Long user);

    void saveWriteData(WordChinToEngEntity entity);

    List<WordChinToEngEntity> getWriteData(String practiceId);
}
